.class public Lcom/tencent/android/tpush/b/d;
.super Lcom/tencent/android/tpush/b/a;


# instance fields
.field private d:I

.field private e:I

.field private f:I

.field private g:I

.field private h:I

.field private i:I

.field private j:Ljava/lang/String;

.field private k:I

.field private l:Ljava/lang/String;

.field private m:Ljava/lang/String;

.field private n:I

.field private o:I

.field private p:Lcom/tencent/android/tpush/b/e;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0, p1}, Lcom/tencent/android/tpush/b/a;-><init>(Ljava/lang/String;)V

    iput v1, p0, Lcom/tencent/android/tpush/b/d;->d:I

    iput v2, p0, Lcom/tencent/android/tpush/b/d;->e:I

    iput v2, p0, Lcom/tencent/android/tpush/b/d;->f:I

    iput v2, p0, Lcom/tencent/android/tpush/b/d;->g:I

    iput v1, p0, Lcom/tencent/android/tpush/b/d;->h:I

    iput v1, p0, Lcom/tencent/android/tpush/b/d;->i:I

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->j:Ljava/lang/String;

    iput v2, p0, Lcom/tencent/android/tpush/b/d;->k:I

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->l:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->m:Ljava/lang/String;

    iput v1, p0, Lcom/tencent/android/tpush/b/d;->n:I

    iput v1, p0, Lcom/tencent/android/tpush/b/d;->o:I

    new-instance v0, Lcom/tencent/android/tpush/b/e;

    invoke-direct {v0}, Lcom/tencent/android/tpush/b/e;-><init>()V

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->p:Lcom/tencent/android/tpush/b/e;

    return-void
.end method


# virtual methods
.method public c()I
    .locals 1

    const/4 v0, 0x1

    return v0
.end method

.method protected d()V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "builder_id"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->d:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "ring"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->e:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "ring_raw"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "icon_res"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->j:Ljava/lang/String;

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "small_icon"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/tencent/android/tpush/b/d;->m:Ljava/lang/String;

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "lights"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->k:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "vibrate"

    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->f:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "icon"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->i:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "icon_type"

    invoke-virtual {v0, v1, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->n:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "n_id"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->h:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "style_id"

    invoke-virtual {v0, v1, v3}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->o:I

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "clearable"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "clearable"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/tencent/android/tpush/b/d;->g:I

    :goto_0
    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v1, "action"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->isNull(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->p:Lcom/tencent/android/tpush/b/e;

    iget-object v1, p0, Lcom/tencent/android/tpush/b/d;->a:Lorg/json/JSONObject;

    const-string/jumbo v2, "action"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/tencent/android/tpush/b/e;->a(Lcom/tencent/android/tpush/b/e;Ljava/lang/String;)V

    :cond_0
    return-void

    :cond_1
    iput v2, p0, Lcom/tencent/android/tpush/b/d;->g:I

    goto :goto_0
.end method

.method public h()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->d:I

    return v0
.end method

.method public i()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->e:I

    return v0
.end method

.method public j()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->f:I

    return v0
.end method

.method public k()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->g:I

    return v0
.end method

.method public l()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->h:I

    return v0
.end method

.method public m()Lcom/tencent/android/tpush/b/e;
    .locals 1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->p:Lcom/tencent/android/tpush/b/e;

    return-object v0
.end method

.method public n()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->i:I

    return v0
.end method

.method public o()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->k:I

    return v0
.end method

.method public p()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->l:Ljava/lang/String;

    return-object v0
.end method

.method public q()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->j:Ljava/lang/String;

    return-object v0
.end method

.method public r()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/tencent/android/tpush/b/d;->m:Ljava/lang/String;

    return-object v0
.end method

.method public s()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->n:I

    return v0
.end method

.method public t()I
    .locals 1

    iget v0, p0, Lcom/tencent/android/tpush/b/d;->o:I

    return v0
.end method
